

#ifndef _SHELL_RESGANGATTBUTS_MESSAGE_H_
#define _SHELL_RESGANGATTBUTS_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ResGangAttbutsMessage : public Message
{
	public:
	ResGangAttbutsMessage();
	~ResGangAttbutsMessage();
	void reset();
	ResGangAttbutsMessage* clone();
	static const int _ID;
	//属性类型:1等级2经验3战旗
	int8 attbutType;
	//属性加减值
	int32 value;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
